﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Free Bootstrap Admin Template : Dream</title>
    <!-- Bootstrap Styles-->
    <link href="assets/css/bootstrap.css" rel="stylesheet" />
    <!-- FontAwesome Styles-->
    <link href="assets/css/font-awesome.css" rel="stylesheet" />
    <!-- Morris Chart Styles-->

    <!-- Custom Styles-->
    <link href="assets/css/custom-styles.css" rel="stylesheet" />
    <!-- Google Fonts-->
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
    <!-- TABLE STYLES-->
    <link href="assets/js/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
    <link rel="stylesheet" href="myPagination.css">
    <link rel="stylesheet" href="assets/css/addstu.css">
    <style>
    </style>
</head>

<body>
    <div id="wrapper">
        <nav class="navbar navbar-default top-navbar" role="navigation">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.html">Dream</a>
            </div>

            <ul class="nav navbar-top-links navbar-right">
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                        <i class="fa fa-envelope fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-messages">
                        <li>
                            <a href="#">
                                <div>
                                    <strong>John Doe</strong>
                                    <span class="pull-right text-muted">
                                        <em>Today</em>
                                    </span>
                                </div>
                                <div>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s...
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <strong>John Smith</strong>
                                    <span class="pull-right text-muted">
                                        <em>Yesterday</em>
                                    </span>
                                </div>
                                <div>Lorem Ipsum has been the industry's standard dummy text ever since an kwilnw...
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <strong>John Smith</strong>
                                    <span class="pull-right text-muted">
                                        <em>Yesterday</em>
                                    </span>
                                </div>
                                <div>Lorem Ipsum has been the industry's standard dummy text ever since the...</div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>Read All Messages</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                    <!-- /.dropdown-messages -->
                </li>
                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                        <i class="fa fa-tasks fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-tasks">
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Task 1</strong>
                                        <span class="pull-right text-muted">60% Complete</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-success" role="progressbar"
                                            aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
                                            <span class="sr-only">60% Complete (success)</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Task 2</strong>
                                        <span class="pull-right text-muted">28% Complete</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-info" role="progressbar"
                                            aria-valuenow="28" aria-valuemin="0" aria-valuemax="100" style="width: 28%">
                                            <span class="sr-only">28% Complete</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Task 3</strong>
                                        <span class="pull-right text-muted">60% Complete</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-warning" role="progressbar"
                                            aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
                                            <span class="sr-only">60% Complete (warning)</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Task 4</strong>
                                        <span class="pull-right text-muted">85% Complete</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-danger" role="progressbar"
                                            aria-valuenow="85" aria-valuemin="0" aria-valuemax="100" style="width: 85%">
                                            <span class="sr-only">85% Complete (danger)</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>See All Tasks</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                    <!-- /.dropdown-tasks -->
                </li>
                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                        <i class="fa fa-bell fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-alerts">
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-comment fa-fw"></i> New Comment
                                    <span class="pull-right text-muted small">4 min</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-twitter fa-fw"></i> 3 New Followers
                                    <span class="pull-right text-muted small">12 min</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-envelope fa-fw"></i> Message Sent
                                    <span class="pull-right text-muted small">4 min</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-tasks fa-fw"></i> New Task
                                    <span class="pull-right text-muted small">4 min</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-upload fa-fw"></i> Server Rebooted
                                    <span class="pull-right text-muted small">4 min</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>See All Alerts</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                    <!-- /.dropdown-alerts -->
                </li>
                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                        <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
                        </li>
                        <li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="#"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
                <!-- /.dropdown -->
            </ul>
        </nav>
        <!--/. NAV TOP 侧边栏  -->
        <nav class="navbar-default navbar-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav" id="main-menu">

                    <li>
                        <a href="index.html"><i class="fa fa-dashboard"></i>信息总览</a>
                    </li>
                    <li>
                        <a class="active-menu" href="table.html"><i class="fa fa-table"></i> 学员信息</a>
                    </li>
                    <li>
                        <a href="chart.html"><i class="fa fa-bar-chart-o"></i> 业务信息</a>
                    </li>
                    <li>
                        <a href="table.html"><i class="fa fa-table"></i> 就业信息</a>
                    </li>

                    <li>
                        <a href="#"><i class="fa fa-sitemap"></i> 生源统计<span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li>
                                <a href="#">老师转介绍</a>
                            </li>
                            <li>
                                <a href="#">老学员转介绍</a>
                            </li>
                            <li>
                                <a href="#">代理商转介绍</a>
                            </li>

                        </ul>
                    </li>
                    <li>
                        <a href="form.html"><i class="fa fa-edit"></i> 企业考证 </a>
                    </li>
                    <li>
                        <a href="form.html"><i class="fa fa-edit"></i> 校企合作 </a>
                    </li>
                    <li>
                        <a href="form.html"><i class="fa fa-edit"></i> 采购管理</a>
                    </li>
                    <li>
                        <a href="form.html"><i class="fa fa-edit"></i> 财务报表 </a>
                    </li>


                    <li>
                        <a href="empty.html"><i class="fa fa-fw fa-file"></i> 权限管理</a>
                    </li>
                </ul>

            </div>

        </nav>
        <!-- /. 主体内容 -->
        <div id="page-wrapper">
            <div id="page-inner">
                <div class="row">
                    <div class="col-md-12">
                        <h1 class="page-header">
                            学员信息
                        </h1>
                    </div>
                </div>
                <!-- /. ROW  -->

                <div class="row">
                    <div class="col-md-12">
                        <!-- Advanced Tables -->
                        <div class="panel panel-default">

                            <div class="panel-heading col-md-12">
                                <p class="col-md-2">Excel批量导入<p>
                                        <input type="file" class="col-md-2 " onchange="importf(this)" id="addexcel" />

                                        <!-- Button trigger modal -->
                                        <button type="button" class="btn btn-primary btn-lg col-md-offset-4 addmessage"
                                            data-toggle="modal" data-target="#myModal">
                                            增加信息
                                        </button>
                                        <!-- Modal -->
                                        <div class="modal fade" id="myModal" tabindex="-1" role="dialog"aria-labelledby="myModalLabel">
                                                <div class="modal-dialog" role="document">
                                                        <div class="modal-content">
                                                            <div class="modal-header">
                                                                <button type="button" class="close" data-dismiss="modal"
                                                                    aria-label="Close"><span
                                                                        aria-hidden="true">&times;</span></button>
                                                                <h4 class="modal-title" id="myModalLabel">请输入学员信息</h4>
                                                            </div>
                                                            <div class="modal-body">
                                                                       
                                                                        <form class="form-inline">
                                                                            <div class="form-group">
                                                                            <label for="iptname">姓名</label>
                                                                            <input type="text"  id="iptname" class="form-control">
                                                                        </div>
                                                                     
                                                                        <div class="form-group">
                                                                            <label for="iptsex">性别</label>
                                                                            <select name="sex" id="iptsex" class="form-control">
                                                                               <option value="option1">男</option>
                                                                               <option value="option2">女</option>
                                                                           </select>
                                                                        </div>
                                                                        <div class="form-group">
                                                                                <label for="iptfrom">来源</label>
                                                                                <select name="from" id="iptfrom" class="form-control">
                                                                                   <option value="option1">老师转介绍</option>
                                                                                   <option value="option2">老学员转介绍</option>
                                                                                   <option value="option2">代理商转介绍</option>
                                                                               </select>
                                                                            </div>
        
                                                                            <div class="form-group">
                                                                                    <label for="iptid" class="wz">身份证</label>
                                                                                    <input type="text"  id="iptid" class="form-control">
                                                                                </div>
                                                                                
                                                                                <div class="outer form-group">
                                                                                        <label for="province">地址</label>
                                                                                        <select name="province" id="province" class="form-control">
                                                                                            <option value="请选择" class="province">请选择</option>
                                                                                        </select>
                                                                                        <select name="city" id="city" class="form-control">
                                                                                            <option value="请选择">请选择</option>
                                                                                        </select>
                                                                                        <select name="town" id="town" class="form-control">
                                                                                            <option value="请选择">请选择</option>
                                                                                        </select>
                                                                                    </div>
                                                                                <div class="form-group">
                                                                                        <label for="ipone">手机号</label>
                                                                                        <input type="text"  id="ipone" class="form-control">
                                                                                    </div>
                                                                                    <div class="form-group">
                                                                                            <label for="weixin">微信</label>
                                                                                            <input type="text"  id="weixin" class="form-control">
                                                                                        </div>
                                                                                        <div class="form-group">
                                                                                                <label for="stype">业务类型</label>
                                                                                                <select name="from" id="stype" class="form-control">
                                                                                                   <option value="option1">技能培训</option>
                                                                                                   <option value="option2">学历提升</option>
                                                                                                   <option value="option2">学员考证</option>
                                                                                               </select>
                                                                                            </div>
                                                                                    <div class="form-group">
                                                                                            <label for="scome">入学时间</label>
                                                                                            <input type="text"  id="scome" class="form-control" placeholder="格式：2019/05/01">
                                                                                        </div>         
                                                                        </form>
                                                            </div>
                                                            <div class="modal-footer">
                                                                    <button type="button" class="btn btn-primary " data-dismiss="modal" id="btnsave">保存</button>
                                                                <button type="button" class="btn btn-default"
                                                                    data-dismiss="modal">取消</button>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div> 
                                        </div>

                            <div class="panel-body">
                                <div class="table-responsive ">
                                    <table class="table table-striped table-bordered table-hover "
                                        id="dataTables-example">
                                        <thead>
                                            <tr>
                                                <th class="col-md-1">姓名</th>
                                                <th class="col-md-1">性别</th>
                                                <th class="col-md-1">来源</th>
                                                <th class="col-md-2">身份证</th>
                                                <th class="col-md-2">地址</th>
                                                <th class="col-md-1">手机号</th>
                                                <th class="col-md-1">微信号</th>
                                                <th class="col-md-1">业务类型</th>
                                                <th class="col-md-1">入学时间</th>
                                                <th class="col-md-1">操作</th>
                                            </tr>
                                        </thead>
                                        <tbody class="idData" id="biuuu_city_list">
                                            <tr class="odd gradeX">
                                                <td>周杰伦</td>
                                                <td>男</td>
                                                <td>老师转介绍</td>
                                                <td class="center">412826198307019999</td>
                                                <td class="center">台湾省台北市二七区</td>
                                                <td class="center">10086</td>
                                                <td class="center">X</td>
                                                <td class="center">技能培训</td>
                                                <td class="center">2019/05/01</td>
                                                <td class="center">
                                                        <!-- <button type="button" class="btn btn-success">编辑</button> -->
                                                        <button type="button" class="btn btn-primary btn-sm btn-success  addmessage"
                                            data-toggle="modal" data-target="#myModal1">
                                            编辑
                                        </button>
                                        <div class="modal fade" id="myModal1" tabindex="-1" role="dialog"aria-labelledby="myModalLabel"></div>
                                        <button type="button" class="btn btn-danger btn-sm">删除</button>
                                                                          
                                                        
                                                </td>
                                            </tr>
                                            <tr class="odd gradeX">
                                                    <td>林俊杰</td>
                                                    <td>男</td>
                                                    <td>老师转介绍</td>
                                                    <td class="center">412826198307019999</td>
                                                    <td class="center">新加坡省</td>
                                                    <td class="center">10086</td>
                                                    <td class="center">X</td>
                                                    <td class="center">技能培训</td>
                                                    <td class="center">2019/05/01</td>
                                                    <td class="center">
                                                        <button type="button" class="btn btn-primary btn-sm btn-success  addmessage"
                                                        data-toggle="modal" data-target="#myModal1">
                                                        编辑
                                                    </button>
                                                    <div class="modal fade" id="myModal1" tabindex="-1" role="dialog"aria-labelledby="myModalLabel"></div>
                                                    <button type="button" class="btn btn-danger btn-sm">删除</button>
                                                                                      
                                                                    
                                                            </td>
                                                </tr>


                                        </tbody>
                                    </table>
                                   
                                   

<div id="biuuu_city"></div>

                                </div>

                            </div>
                        </div>
                        <!--End Advanced Tables -->
                    </div>
                </div>
                <!-- /. ROW  -->


            </div>
            <!-- /. PAGE INNER  -->
        </div>
        <!-- /. PAGE WRAPPER  -->
        <!-- /. WRAPPER  -->
        <!-- JS Scripts-->
        <!-- jQuery Js -->
        <script src="assets/js/jquery-1.10.2.js"></script>
        <!-- Bootstrap Js -->
        <script src="assets/js/bootstrap.min.js"></script>
        <script src="js/xlsx.full.min.js"></script>
        <script src="js/excel.js"></script>
        <script src="js/area.js"></script>
        <script src="js/select.js"></script>
        <script src="js/config.js"></script>
        <script src="js/axios.min.js"></script>
        <script src="js/laypage.js"></script>
      
       



        <script>
            axios.get("api.json",{

            }).then(res=>{
                console.log(res)
            })


        
            



        </script>


</body>

</html>